package com.naeeiot.calc.bean;

public class PfcalcGen {
    Long id;        // ID 唯一 输入
    Long node_id;    // 节点ID（st_pfcalc_node） 输入
    Integer iisl;        // no use
    Double p0;        // 计算前有功 输入
    Double q0;        // 计算前无功 输入
    Double v0;        // 计算前电压 输入
    Double p;        // 计算后有功 输出
    Double q;        // 计算后无功 输出
    Double v;        // 计算后电压 输出
    Integer pf_type;        // 计算类型 （0—PQ 1 平衡 2 PV）
    Double mw_alloc;    // no use
    Double mvar_alloc;    // no use
    Double kvrate;        // no use
    Double mvarate;        // no use
    Integer swingrank;        // no use
    Double frc;        // no use
    Double frp_max;        // no use
    Double frp_min;        // no use
    Double f_value;        // no use

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNode_id() {
        return node_id;
    }

    public void setNode_id(Long node_id) {
        this.node_id = node_id;
    }

    public Integer getIisl() {
        return iisl;
    }

    public void setIisl(Integer iisl) {
        this.iisl = iisl;
    }

    public Double getP0() {
        return p0;
    }

    public void setP0(Double p0) {
        this.p0 = p0;
    }

    public Double getQ0() {
        return q0;
    }

    public void setQ0(Double q0) {
        this.q0 = q0;
    }

    public Double getV0() {
        return v0;
    }

    public void setV0(Double v0) {
        this.v0 = v0;
    }

    public Double getP() {
        return p;
    }

    public void setP(Double p) {
        this.p = p;
    }

    public Double getQ() {
        return q;
    }

    public void setQ(Double q) {
        this.q = q;
    }

    public Double getV() {
        return v;
    }

    public void setV(Double v) {
        this.v = v;
    }

    public Integer getPf_type() {
        return pf_type;
    }

    public void setPf_type(Integer pf_type) {
        this.pf_type = pf_type;
    }

    public Double getMw_alloc() {
        return mw_alloc;
    }

    public void setMw_alloc(Double mw_alloc) {
        this.mw_alloc = mw_alloc;
    }

    public Double getMvar_alloc() {
        return mvar_alloc;
    }

    public void setMvar_alloc(Double mvar_alloc) {
        this.mvar_alloc = mvar_alloc;
    }

    public Double getKvrate() {
        return kvrate;
    }

    public void setKvrate(Double kvrate) {
        this.kvrate = kvrate;
    }

    public Double getMvarate() {
        return mvarate;
    }

    public void setMvarate(Double mvarate) {
        this.mvarate = mvarate;
    }

    public Integer getSwingrank() {
        return swingrank;
    }

    public void setSwingrank(Integer swingrank) {
        this.swingrank = swingrank;
    }

    public Double getFrc() {
        return frc;
    }

    public void setFrc(Double frc) {
        this.frc = frc;
    }

    public Double getFrp_max() {
        return frp_max;
    }

    public void setFrp_max(Double frp_max) {
        this.frp_max = frp_max;
    }

    public Double getFrp_min() {
        return frp_min;
    }

    public void setFrp_min(Double frp_min) {
        this.frp_min = frp_min;
    }

    public Double getF_value() {
        return f_value;
    }

    public void setF_value(Double f_value) {
        this.f_value = f_value;
    }

    @Override
    public String toString() {
        return "PfcalcGen{" +
                "id=" + id +
                ", node_id=" + node_id +
                ", iisl=" + iisl +
                ", p0=" + p0 +
                ", q0=" + q0 +
                ", v0=" + v0 +
                ", p=" + p +
                ", q=" + q +
                ", v=" + v +
                ", pf_type=" + pf_type +
                ", mw_alloc=" + mw_alloc +
                ", mvar_alloc=" + mvar_alloc +
                ", kvrate=" + kvrate +
                ", mvarate=" + mvarate +
                ", swingrank=" + swingrank +
                ", frc=" + frc +
                ", frp_max=" + frp_max +
                ", frp_min=" + frp_min +
                ", f_value=" + f_value +
                '}';
    }
}
